<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.js">
    </script>
</head>
<body>
<button id='b01'>下载</button>
<a href="blob:http://localhost:8000/c610068e-8e22-4849-a022-1cd7ac5c5f91" download="%E6%93%8D%E4%BD%9C%E6%97%A5%E5%BF%972019-11-16_14%EF%BC%9A38%EF%BC%9A59.xlsx">Download file</a>
</body>
<script>
    $(document).ready(function () {
        $("#b01").click(function () {
            $.ajax({
                type: 'POST',
                url: "http://localhost:8000/sys_user/login?name=admin&password=888888",
                data: {
                    phoneNo: $(".tel").val()
                },
                success: function (data) {
                    console.log("登录成功！", data)
                }
            })

			$.ajax({
				type: 'POST',
				url: "http://localhost:8000/sys_log/OutPutExcel?deptId=1&endTime=2020-12-1&operation=所有&startTime=2018-12-1&userId=08",
				data: {
					phoneNo: $(".tel").val()
				},
				success: function (data) {
					console.log("登录成功！", "text")
				}
			})
        });
    });
</script>
</html>
